* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;

}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

/* Add animation */
@keyframes ripple {
    from {
        opacity: 1;
        transform: scale(0);
    }

    to {
        opacity: 0;
        transform: scale(10);
    }
}


/*水波纹点击特性*/
.__pyui_ripple span {
    position: absolute;
    border-radius: 50%;
    /* To make it round */
    background-color: rgba(0, 0, 0, 0.3);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    /* for positioning */
    margin-left: -50px;
    animation: ripple 1s;
    opacity: 0;
}

.__pyui_ripple {
    position: relative;
    overflow: hidden;
}

button {

    color: rgba(0, 0, 0, 0.88);
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    height: 32px;
    padding: 0 15px;
    cursor: pointer;
}

header {
    display: flex;
    padding: 8px 0;
    justify-content: space-between;
}

canvas {
    width: 100%;
    height: 100%;
    background-color: #d9d9d9;
}

.questionRoot {
    display: flex;
    height: 100px;
    font-size: 30px;
    justify-content: center;
}

.hright button {
    margin-left: 20px;
}

input {
    width: 200px;
    height: 36px;
    font-size: 24px;
}

input:focus {
    outline: 0;
    border: 1px solid #979b97;
    box-shadow: 0px 0px 10px 0px #979b97;
}

.questionRoot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips {
    width: 100%;
    color: red;
    text-align: center;
}

#idx {
    color: red;
    font-size: 24px;
}

#report {
    border: 5px solid;
    width: 340px;
    margin: 0 auto;
    min-height: 200px;
}

.reportContent {
    text-align: left;
}

.reportContent div {
    margin-top: 10px;
    padding: 0 8px;
}

.reportTitle {
    font-size: 24px;
}

.reportTime {
    font-size: 14px;
    margin-bottom: 20px;
}

@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

:root {
    --card-height: 65vh;
    --card-width: calc(var(--card-height) / 1.5);
}


/* body {
    min-height: 100vh;
    background: #212534;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
  } */


.card {
    background: #191c29;
    width: var(--card-width);
    height: var(--card-height);
    padding: 3px;
    position: relative;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* display: flex; */
    font-size: 1.5em;
    /* color: rgb(88 199 250 / 0%); */
    cursor: pointer;
    font-family: cursive;
    color: rgb(88 199 250 / 100%);
    transition: color 1s;
}

/* .card:hover {
    color: rgb(88 199 250 / 100%);
    transition: color 1s;
} */

/* .card:hover:before,
.card:hover:after {
    animation: none;
    opacity: 0;
} */


.card::before {
    content: "";
    width: 104%;
    height: 102%;
    border-radius: 8px;
    background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2);
    position: absolute;
    z-index: -1;
    top: -1%;
    left: -2%;
    animation: spin 2.5s linear infinite;
}

.card::after {
    position: absolute;
    content: "";
    top: calc(var(--card-height) / 6);
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.8);
    filter: blur(calc(var(--card-height) / 6));
    background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2);
    opacity: 1;
    transition: opacity .5s;
    animation: spin 2.5s linear infinite;
}

@keyframes spin {
    0% {
        --rotate: 0deg;
    }

    100% {
        --rotate: 360deg;
    }
}

a {
    color: #212534;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 2rem;
}